﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DeviceRepairBack.aspx.cs" Inherits="DeviceRepairBack" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
    <script language=javascript>
     function seltime(inputName)
     {
	window.open('seltime.aspx?InputName='+inputName+'','','width=250,height=220,left=360,top=250,scrollbars=yes');  
     }
   </script>
</head>
<body>
     <form method="post" runat="server" id="frmAnnounce">
      <table width=842 border=0 cellpadding=0 cellspacing=0 align="center">
        <tr style="color:blue;font-size:14px;">
	  <td style="height: 14px; width: 502px;">
          <img src="images/ADD.gif" width=14px height=14px>设备维修管理--&gt;设备返修</td>
        </tr>
        <tr>
        <td style="height: 87px">
            设备名称:
            <asp:Literal ID="DeviceName" runat="server"></asp:Literal>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;设备类别:
            <asp:Literal ID="DeviceTypeName" runat="server"></asp:Literal>&nbsp;<br />
            送修地点: &nbsp;<asp:Literal ID="RepairPlace" runat="server"></asp:Literal>
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            &nbsp; 维修人:<asp:TextBox
                ID="RepairMan" runat="server" Width="116px"></asp:TextBox></td>
       <td style="width: 99px; height: 87px;">
           <asp:Image ID="DeviceImage" runat="server" Height="87px" Width="96px" /></td>
       </tr>
       <tr><td colspan=2 style="height: 119px">
           故障原因:<asp:TextBox ID="ErrReason" runat="server" Width="181px"></asp:TextBox>
           &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
           &nbsp; &nbsp; &nbsp;返修时间:<asp:TextBox
               ID="RepairEndTime" runat="server" Width="106px"></asp:TextBox>
           <input class="submit" name="Button" onclick="seltime('RepairEndTime')" type="button" value="选择" /><br />
           <br />
           维修耗时:<asp:TextBox ID="RepairTime" runat="server" Width="67px"></asp:TextBox>工时 维修费用:<asp:TextBox
               ID="RepairMoney" runat="server" Width="70px"></asp:TextBox>元<br />
           <br />
           附加信息:<asp:TextBox ID="RepairMemo" runat="server" Height="47px" Width="393px"></asp:TextBox><br />
           <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="RepairMan"
               ErrorMessage="请填写维修人信息!"></asp:RequiredFieldValidator>
           <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ErrReason"
               ErrorMessage="请填写故障原因!"></asp:RequiredFieldValidator>
           <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="RepairEndTime"
               ErrorMessage="请选择返修时间!"></asp:RequiredFieldValidator>
           <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="RepairTime"
               ErrorMessage="请填写维修耗时!"></asp:RequiredFieldValidator>
           <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="RepairMoney"
               ErrorMessage="请填写维修费用!"></asp:RequiredFieldValidator>
           <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="RepairEndTime"
               ErrorMessage="返修日期不正确!" Operator="DataTypeCheck" Type="Date"></asp:CompareValidator></td></tr>
       <tr><td align=center colspan=2 style="height: 18px">
           <asp:Button ID="Btn_RepairBack" runat="server" Text="返修" OnClick="Btn_RepairBack_Click" />
           &nbsp;&nbsp; &nbsp;<input type=button value="取消" onclick="javascript:location.href='DeviceRepairList.aspx';"></td></tr>


     </table>
    </form>
</body>
</html>
